import request from '@/utils/request'



export function materialCodeList(data) { //列表
  return request({
    url: '/maintenance-system/api/ggskcmx/page',
    method: 'post',
    data
  })
}


export function materialCodeAdd(data) { //新增
  return request({
    url: '/maintenance-system/api/ggskcmx/add',
    method: 'post',
    data
  })
}

//原 put
export function materialCodeEdit(data) { //编辑
  return request({
    url: '/maintenance-system/api/ggskcmx/edit',
    method: 'post',
    data
  })
}

export function materialCodeDelete(data) { //删除
  return request({
    url: '/maintenance-system/api/ggskcmx/del',
    method: 'post',
    data
  })
}
export function materialCodeDetails(data) { //详情
  return request({
    url: '/maintenance-system/api/ggskcmx/queryOne',
    method: 'post',
    data
  })
}

